/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kull.commons.dbcp;

import java.sql.DriverManager;
import java.sql.SQLException;

/**
 *
 * @author lin
 */
public class BasicDataSource extends org.apache.commons.dbcp.BasicDataSource{

    @Override
    public synchronized void close() throws SQLException {
        
        DriverManager.deregisterDriver(DriverManager.getDriver(url));
        super.close(); //To change body of generated methods, choose Tools | Templates.
    }

    
    
}
